#include<stdio.h>
struct gift
{
	int stock_number;
	double price;
	int item_type;

	union 
	{
		struct
		{
			char book_name[20];
			char autor[20];
			int id[18];
		}book;
		struct 
		{
			char design[20];
		}mug;
		struct 
		{
			char design[20];
			int colors;
			int sz;
		}shirt;
	}item;
};
union 
{
	char i;
	int j;
}un;
int main()
{
	struct gift book = { .item.book.id = 1800000 };
	un.j = 1;
	printf("%d", un.i);
	return 0;
}